 |
API Documentation
|
|
|
11 class DLL_WINUI_EXPORT
Color final
30 explicit Color (
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a = 255) ;
41 explicit Color (
float r,
float g,
float b,
float a = 1.f) ;
52 explicit Color (
double r,
double g,
double b,
double a = 1.0) ;
63 explicit Color (
unsigned int r,
unsigned int g,
unsigned int b,
unsigned int a = 255u) ;
74 explicit Color (
unsigned long long r,
unsigned long long g,
unsigned long long b,
unsigned long long a = 255ull) ;
85 explicit Color (
int r,
int g,
int b,
int a = 255) ;
96 explicit Color (
long long r,
long long g,
long long b,
long long a = 255ll) ;
177 Color operator* (
float factor)
const ;
unsigned int getR255() const
unsigned int getG255() const
unsigned int getB255() const
Color(unsigned int r, unsigned int g, unsigned int b, unsigned int a=255u)
Color(unsigned char r, unsigned char g, unsigned char b, unsigned char a=255)
Color(float r, float g, float b, float a=1.f)
Color(double r, double g, double b, double a=1.0)
Color getAssociateColor(float factor=1.5f) const
Color getColorForDepth(unsigned int depth) const
Represents a color, with 4 channels.
Definition: Color.h:12
Color(int r, int g, int b, int a=255)
unsigned int getA255() const
Color(long long r, long long g, long long b, long long a=255ll)
Encompasses all API of component NilkinsWinUi.
Definition: Button.h:7
Color mix(const Color &other, float factor) const
Color(unsigned long long r, unsigned long long g, unsigned long long b, unsigned long long a=255ull)